/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aso.upna.net;

import java.io.Serializable;

/**
 *
 * @author triki
 */
public class RespondMessage implements Serializable {

    private String message;
    private int code;

    public RespondMessage(String message,int code)
    {
        this.message = new String(message);
        this.code = code;
    }

    public int getCode()
    {
        return code;
    }

    @Override
    public String toString()
    {
        return ""+message;
    }
}
